expander: Remove a pointless return
authorMatthias Clasen <mclasen@redhat.com>
Fri, 19 Jun 2020 18:15:55 +0000 (14:15 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 19 Jun 2020 19:26:47 +0000 (15:26 -0400)
GtkDropControllerMotion::enter does not expect
a boolean return value, so don't provide one.

gtk/gtkexpander.c

index 396c7699898f9fb348875415a813e23c26064319..0ceff8679bc3be6e88e145e8d41c3ee8a94c353e 100644 (file)
@@ -231,7 +231,7 @@ expand_timeout (gpointer data)
   return FALSE;
 }
 
-static gboolean
+static void
 gtk_expander_drag_enter (GtkDropControllerMotion *motion,
                          double                   x,
                          double                   y,
@@ -242,8 +242,6 @@ gtk_expander_drag_enter (GtkDropControllerMotion *motion,
       expander->expand_timer = g_timeout_add (TIMEOUT_EXPAND, (GSourceFunc) expand_timeout, expander);
       g_source_set_name_by_id (expander->expand_timer, "[gtk] expand_timeout");
     }
-
-  return TRUE;
 }
 
 static void